import http from "@/server/http";

//线上咨询列表
export const queryOnlineConsultantList = (params) => {
    return http({
        url: "/user/consult/OnlineConsultantList",
        method: "POST",
        data: params,
    })
}

//咨询师标签 
export const queryConsultantTag = (params) => {
    return http({
        url: "/admin/user/tagSelector",
        method: "POST",
        data: params,
    })
}

//获取用户信息 
export const queryUserInfo = (params) => {
    return http({
        url: "/common/user/info",
        method: "POST",
        data: params,
    })
}

//问题类型选择器
export const queryQuestionSelector = (params) => {
    return http({
        url: "/user/consult/questionSelector",
        method: "POST",
        data: params,
    })
}

//提交线上咨询 
export const submitConsultation = (params) => {
    return http({
        url: "/user/consult/OnlineSubmitConsultation",
        method: "POST",
        data: params,
    })
}

//线上测评问题列表 
export const quereyConEvaProblem = (params) => {
    return http({
        url: "/admin/task/getTaskRatingScaleInfo",
        method: "POST",
        data: params,
    })
}

//线上提交测评答案 
export const subtOnlineConsultResult = (params) => {
    return http({
        url: "/user/consult/addConsultOnlineResult",
        method: "POST",
        data: params,
    })
}


//线上测评结果
export const queryOnlineEvaluationInfo = (params) => {
    return http({
        url: "/user/consult/OnlineViewResult2",
        method: "POST",
        data: params,
    })
}